<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta name="keywords" content="<?php echo C('WEB_SITE_KEYWORD');?>"/>
<meta name="description" content="<?php echo C('WEB_SITE_DESCRIPTION');?>"/>
<title><?php echo C('WEB_SITE_TITLE'); if(!empty($meta_title)): ?>——<?php echo ($meta_title); endif; ?></title>

<script src="/Public/Home/js/jquery-1.11.1.js"></script>
<script src="/Public/Home/js/linkActive.js"></script>
<script src="/Public/Home/js/common.js"></script>

<!-- banner动画 -->
<link id="swiper_css" rel="stylesheet" href="/Public/Home/js/swiper/css/swiper-3.3.1.css" />
<link href="/Public/Home/js/swiper/css/animate.css" rel="stylesheet" />
<script id="swiper_commonly"  src='/Public/Home/js/swiper/js/swiper-3.3.1.js'></script>
<script src="/Public/Home/js/swiper/js/swiper.animate.js"></script>
<script src="/Public/Home/js/swiper.js"></script>

<!-- 小于等于 IE9 加载-->
<!--[if lte IE 9]>
<script src="/Public/Home/js/load.js"></script>
<script src="/Public/Home/js/html5shiv.min.js"></script>
<script src="/Public/Home/js/respond.min.js"></script>
<![endif]-->

<link href="/Public/Home/css/style.css" type="text/css" rel="stylesheet"/>




</head>
<body>
	<!-- 头部 -->
	<!-- top -->
<div class="top">
    <div class="top1">
        <div class="box">
            <div class="left">欢迎进入成都中舜财税咨询有限公司！</div>
            <div class="right">
                <p><i class="small"></i><span><?php echo ($config_set_info["tel"]); ?></span></p>
                <p><i class="small"></i><span>诚信做人  专业做事</span></p>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    <div class="top2">
        <div class="box">
            <div class="logo">
                <img src="/html/images/common/logo_03.png" class="logo-img">
                <img src="/html/images/common/logo-words_03.png" class="logo-words">
            </div>
            <div class="nav">
                <nav>
                    <ul class="nav-ul">
                        <?php $__NAV__ = M('Channel')->field(true)->where("status=1")->order("sort")->select();$__NAV__ = list_to_tree($__NAV__, "id", "pid", "_"); if(is_array($__NAV__)): $i = 0; $__LIST__ = $__NAV__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i;?><li class="nav-li
                         <?php if(strstr($nav['url'],CONTROLLER_NAME)){ echo on; } ?>
                            ">
                            <?php if(($nav["pid"]) == "0"): ?><a href="<?php echo (get_nav_url($nav["url"])); ?>" target="<?php if(($nav["target"]) == "1"): ?>_blank<?php else: ?>_self<?php endif; ?>"><?php echo ($nav["title"]); ?></a><?php endif; ?>
                            <?php if(!empty($nav['_'])): ?><ul>
                                <?php if(is_array($nav['_'])): $i = 0; $__LIST__ = $nav['_'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;?><li><a href="<?php echo (get_nav_url($vv["url"])); ?>"><?php echo ($vv["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul><?php endif; ?>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </nav>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>













<!--
<?php $__NAV__ = M('Channel')->field(true)->where("status=1")->order("sort")->select(); if(is_array($__NAV__)): $i = 0; $__LIST__ = $__NAV__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i; if(($nav["pid"]) == "0"): ?><li <?php if(strstr($nav['url'],CONTROLLER_NAME)){ echo "class='on'"; } ?>>
        <a href="<?php echo (get_nav_url($nav["url"])); ?>" target="<?php if(($nav["target"]) == "1"): ?>_blank<?php else: ?>_self<?php endif; ?>"><?php echo ($nav["title"]); ?></a>
        </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
-->










	<!-- /头部 -->
	
	<!-- 主体 -->
	
    <!-- banner -->
    <div class="inside-ban about-ban"></div>

    <!-- 中间部分 -->
    <div class="inside-cen">
        <!-- 中间导航 -->
        <div class="inside-nav">
            <div class="box">
                <ul>
                    <?php if(is_array($category_info)): $i = 0; $__LIST__ = $category_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Services/index',array('cate_id'=>$val['id']));?>"><?php echo ($val["title"]); ?></a> </li><?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
        <div class="inside-com">
            <!-- 前提 -->

            <div class="premise">
                <div class="inside-title">
                    <h3><span><?php echo ($theme1["title"]); ?></span></h3>
                    <div class="line"></div>
                </div>
                <div class="box">
                    <ul class="premise-ul">
                        <?php if(is_array($list1)): $i = 0; $__LIST__ = $list1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li>
                            <div class="premise-l"><div class="premise-img"><img src="<?php echo (get_cover($val["cover_id"],'path')); ?>"> </div> </div>
                            <div class="premise-r">
                                <div class="premise-info">
                                    <h3><i></i><span><?php echo ($val["title"]); ?></span></h3>
                                    <div class="words">
                                        <?php echo ($val["content"]); ?>
                                    </div>
                                </div>
                            </div>
                            <div class="clear"></div>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div>

            <!-- 步骤 -->
            <div class="step">
                <div class="inside-title">
                    <h3><span><?php echo ($theme2["title"]); ?></span></h3>
                    <p>低于行业的透明化价格体系 让您花的每一分钱都能看得见</p>
                    <div class="line"></div>
                </div>
                <div class="box">
                    <div class="step-imgs">
                        <div class="left"><img src="<?php echo (get_cover($img["0"]["cover_id"],'path')); ?>"></div>
                        <div class="right"><img src="<?php echo (get_cover($img["1"]["cover_id"],'path')); ?>"></div>
                        <div class="clear"></div>
                    </div>
                    <ul class="step-ul">
                        <?php if(is_array($list2)): $i = 0; $__LIST__ = $list2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li>
                            <div class="li-title">
                                <div class="left">
                                    <i class="small"></i><span></span>
                                </div>
                                <div class="right">
                                    <div class="name"><i></i><span><?php echo ($val["title"]); ?></span><i></i></div>
                                    <div class="state">
                                        <p class="add"> + </p>
                                        <p class="minus"> — </p>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="li-words">
                                <p><?php echo ($val["content"]); ?></p>
                            </div>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div>

            <!--  -->
            <div class="message">
                <div class="inside-title">
                    <h3><span>如果您需要此服务，请立即联系我们！我们的服务，一定会让您满意</span></h3>
                    <div class="line"></div>
                </div>
                <div class="box">
                    <form action="#" method="post">
                        <ul class="message-ul">
                            <li>
                                <div class="left">姓名：</div>
                                <div class="right"><input type="text" name="name" placeholder="请输入您的姓名" class="input-text"></div>
                                <div class="clear"></div>
                            </li>
                            <li>
                                <div class="left">联系电话：</div>
                                <div class="right"><input type="number" name="tel" placeholder="请输入您的电话号码" class="input-text"></div>
                                <div class="clear"></div>
                            </li>
                            <li style="width: 100%;">
                                <div class="left">意见反馈：</div>
                                <div class="right"><textarea rows="10" name="content" cols="50" placeholder="请输入您的需求"></textarea></div>
                                <div class="clear"></div>
                            </li>
                            <li style="width: 100%;"><input class="input-submit" onclick="tijiao();" type="button" value="立即提交"></li>
                        </ul>
                    </form>
                </div>
            </div>
        </div>
    </div>

	<!-- /主体 -->

	<!-- 底部 -->
	<!-- 友情链接 -->
<div class="index-link">
    <div class="box">
        <div class="link">
            <div class="link-l">友情链接：</div>
            <div class="link-r">
                <?php if(is_array($friend_data)): $i = 0; $__LIST__ = $friend_data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><a href="<?php echo ($val["links"]); ?>"><?php echo ($val["title"]); ?></a>
                <?php if($key != count($friend_data)-1): ?><span>|</span><?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>
<!-- footer -->
<div class="footer">
    <div class="box">
        <p>成都中舜投资管理有限公司（成都）@2016版权所有</p>
        <p>地址：<?php echo ($config_set_info["address"]); ?></p>
        <p>联系电话： <?php echo ($config_set_info["tel"]); ?> </p>
        <p>技术支持：<a href="http://www.cdsok.com.cn" target="_blank">索客科技</a> </p>
    </div>
</div>

    <script>
        function  tijiao(){
            var name=$("input[name='name']").val();

            var patrn=/^[\u4e00-\u9fa5\uf900-\ufa2d]{1,4}$/;
            if(!patrn.exec(name)){
                alert("请输入你的名字，1-4个汉字");
                return false;
            }
            var tel = $("input[name='tel']").val();//电话
            var patrn = /^1[34578]\d{9}$/;
            if(!patrn.exec(tel)){
                alert("请输入正确的手机号码");
                return false;
            }
            var content=$("textarea[name='content']").val();
            if(content==""){
                alert("请输入您的需求");
                return false;
            }
            $.post("<?php echo U('Message/add');?>",{name:name,tel:tel,content:content},function(data){
                if(data==1){
                    alert("提交成功");
                    $("input[name='name']").val("");
                    $("input[name='tel']").val("");
                    $("textarea").val("");
                }else if(data==0){
                    alert("提交失败");
                }else{
                    alert("请求有误");
                }
            });
        }
        $(function(){
            var $window = $(window);
            $window.load(function(){
                var step_ul = $(".step-ul");
                step_ul.on("click",".li-title",function(){
                    var self = $(this);
                    self.find(".add").hide();
                    self.find(".minus").show();
                    self.siblings(".li-words").stop().slideDown(500);
                    self.parent().siblings().find(".li-words").stop().slideUp(500);
                    self.parent().siblings().find(".add").show();
                    self.parent().siblings().find(".minus").hide();
                })
            });
        });
    </script>

	<!-- /底部 -->
</body>
</html>